package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 维修任务
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2025-03-26 14:47:06
 */
@TableName("weixiurenwu")
public class WeixiurenwuEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public WeixiurenwuEntity() {
		
	}
	
	public WeixiurenwuEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 申报编号
	 */
					
	private String shenbaobianhao;
	
	/**
	 * 设备名称
	 */
					
	private String shebeimingcheng;
	
	/**
	 * 设备类型
	 */
					
	private String shebeileixing;
	
	/**
	 * 设备图片
	 */
					
	private String shebeitupian;
	
	/**
	 * 生产公司
	 */
					
	private String shengchangongsi;
	
	/**
	 * 故障描述
	 */
					
	private String guzhangmiaoshu;
	
	/**
	 * 工号
	 */
					
	private String gonghao;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 安排时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date anpaishijian;
	
	/**
	 * 技术账号
	 */
					
	private String jishuzhanghao;
	
	/**
	 * 技术姓名
	 */
					
	private String jishuxingming;
	
	/**
	 * 报修状态
	 */
					
	private String baoxiuzhuangtai;
	
	/**
	 * 跨表用户id
	 */
					
	private Long crossuserid;
	
	/**
	 * 跨表主键id
	 */
					
	private Long crossrefid;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：申报编号
	 */
	public void setShenbaobianhao(String shenbaobianhao) {
		this.shenbaobianhao = shenbaobianhao;
	}
	/**
	 * 获取：申报编号
	 */
	public String getShenbaobianhao() {
		return shenbaobianhao;
	}
	/**
	 * 设置：设备名称
	 */
	public void setShebeimingcheng(String shebeimingcheng) {
		this.shebeimingcheng = shebeimingcheng;
	}
	/**
	 * 获取：设备名称
	 */
	public String getShebeimingcheng() {
		return shebeimingcheng;
	}
	/**
	 * 设置：设备类型
	 */
	public void setShebeileixing(String shebeileixing) {
		this.shebeileixing = shebeileixing;
	}
	/**
	 * 获取：设备类型
	 */
	public String getShebeileixing() {
		return shebeileixing;
	}
	/**
	 * 设置：设备图片
	 */
	public void setShebeitupian(String shebeitupian) {
		this.shebeitupian = shebeitupian;
	}
	/**
	 * 获取：设备图片
	 */
	public String getShebeitupian() {
		return shebeitupian;
	}
	/**
	 * 设置：生产公司
	 */
	public void setShengchangongsi(String shengchangongsi) {
		this.shengchangongsi = shengchangongsi;
	}
	/**
	 * 获取：生产公司
	 */
	public String getShengchangongsi() {
		return shengchangongsi;
	}
	/**
	 * 设置：故障描述
	 */
	public void setGuzhangmiaoshu(String guzhangmiaoshu) {
		this.guzhangmiaoshu = guzhangmiaoshu;
	}
	/**
	 * 获取：故障描述
	 */
	public String getGuzhangmiaoshu() {
		return guzhangmiaoshu;
	}
	/**
	 * 设置：工号
	 */
	public void setGonghao(String gonghao) {
		this.gonghao = gonghao;
	}
	/**
	 * 获取：工号
	 */
	public String getGonghao() {
		return gonghao;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：安排时间
	 */
	public void setAnpaishijian(Date anpaishijian) {
		this.anpaishijian = anpaishijian;
	}
	/**
	 * 获取：安排时间
	 */
	public Date getAnpaishijian() {
		return anpaishijian;
	}
	/**
	 * 设置：技术账号
	 */
	public void setJishuzhanghao(String jishuzhanghao) {
		this.jishuzhanghao = jishuzhanghao;
	}
	/**
	 * 获取：技术账号
	 */
	public String getJishuzhanghao() {
		return jishuzhanghao;
	}
	/**
	 * 设置：技术姓名
	 */
	public void setJishuxingming(String jishuxingming) {
		this.jishuxingming = jishuxingming;
	}
	/**
	 * 获取：技术姓名
	 */
	public String getJishuxingming() {
		return jishuxingming;
	}
	/**
	 * 设置：报修状态
	 */
	public void setBaoxiuzhuangtai(String baoxiuzhuangtai) {
		this.baoxiuzhuangtai = baoxiuzhuangtai;
	}
	/**
	 * 获取：报修状态
	 */
	public String getBaoxiuzhuangtai() {
		return baoxiuzhuangtai;
	}
	/**
	 * 设置：跨表用户id
	 */
	public void setCrossuserid(Long crossuserid) {
		this.crossuserid = crossuserid;
	}
	/**
	 * 获取：跨表用户id
	 */
	public Long getCrossuserid() {
		return crossuserid;
	}
	/**
	 * 设置：跨表主键id
	 */
	public void setCrossrefid(Long crossrefid) {
		this.crossrefid = crossrefid;
	}
	/**
	 * 获取：跨表主键id
	 */
	public Long getCrossrefid() {
		return crossrefid;
	}

}
